<%@ page language="java" contentType= "text/html" pageEncoding="UTF-8"%>
<%@include file="/include/common/formuihead1.jsp"%>
<%@include file="/include/common/formuihead2.jsp"%>
<%
	page1.getPageTitle().setTitle("表单页面1");
%>
<jm:form>
<jm:layout postion="north">
	<jm:toolbar/>
	<jm:pageTitle/>
</jm:layout>

<jm:layout postion="center">
	<jm:error></jm:error>
	<jm:dp id="dp1" data="<%=Utils.TAG_FORM%>" tabSize="2" hideTabs="tab2">
		<jm:tab colModel="50%;50%;">
			<input caption="測試1" name="test1" type="text" />
			<input caption="測試2" name="test2" type="text" />
			<jm:field id="f1" hidden="true"> 
				<input caption="測試3" name="test2" type="text" />
			</jm:field>
			<input caption="<a href='http://www.baidu.com' target='_blank'>測試4</a>" name="test2" type="text" />
			
			<jm:select name="test" codeList="1|enab;2|disable" />
		</jm:tab>
		<jm:tab colModel="50%;50%;">
			<input caption="測試3" name="test3" type="text" />
		</jm:tab>
	</jm:dp>
</jm:layout>

<jm:layout postion="south" />

</jm:form>
<jm:script><script type="text/javascript" charset="UTF-8">
	//以下定义 action function ,on+action 命名function
	//search action
	//function onsearch(actionvalue,p){
		//submitForm(p);
	//}
	
	//以下定义 validate function  , function  以v_ 开头
	
	//以下定义 ajax function	, function  以ajax_ 开头
	
	//以下定义其它function ,以ajax_ 开头 命名要取有意义的名称
	
	$(function(){
		//以下定义文档加载完之后执行的js
	});
</script></jm:script>
<%@include file="/include/common/formuiend.jsp"%>